package org.nepu.scr.indexrate.raterisk.riskscore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lboot.jpa.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "risk_score")
@ApiModel("作业前风险评级指标比较矩阵")
public class RiskScore extends BaseEntity implements Serializable {
    //级别分为13579五个等级
    @ApiModelProperty(value = "评价任务名字")
    @Column(name = "risk_id")
    String riskName;
}
